package mest.VO.first;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description
 * @auther Machenike
 * @create 2019-11-21 19:18
 */
public class firstVO {

    //生产单Id
    private Integer poId;
    
    //生产单编码
    private String tableNumber;
    //单据日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date Time;
    //单据类型
    private String tableType;
    //结算方式
    private String accountType;
    //发货日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deliverydate;
    //下单人
    private String orderPlaceName;  //
    //业务员
    private String serviceName;      //
    //客户名称
    private String cfName;             //
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    //预计开工
    private Date planDo;
    //预计完工
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date planFinish;
    //付款方式
    private String payType;
    //运输方式
    private String carriageType;
    //销售数量
    private Integer saleNumber;
    //累计生产数量
    private Integer totalProductNumber;
    //累计发货数量
    private Integer totaldeliverNumber ;
    //审核状态
    private Integer checkStatus;

    public String getTableNumber() {
        return tableNumber;
    }

    public void setTableNumber(String tableNumber) {
        this.tableNumber = tableNumber;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getTime() {
        return Time;
    }

    public void setTime(Date time) {
        Time = time;
    }

    public String getTableType() {
        return tableType;
    }

    public void setTableType(String tableType) {
        this.tableType = tableType;
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    public Date getDeliverydate() {
        return deliverydate;
    }

    public void setDeliverydate(Date deliverydate) {
        this.deliverydate = deliverydate;
    }

    public String getOrderPlaceName() {
        return orderPlaceName;
    }

    public void setOrderPlaceName(String orderPlaceName) {
        this.orderPlaceName = orderPlaceName;
    }

    public String getServiceName() {
        return serviceName;
    }

    public Integer getPoId() {
        return poId;
    }

    public void setPoId(Integer poId) {
        this.poId = poId;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getCfName() {
        return cfName;
    }

    public void setCfName(String cfName) {
        this.cfName = cfName;
    }

    public Date getPlanDo() {
        return planDo;
    }

    public void setPlanDo(Date planDo) {
        this.planDo = planDo;
    }

    public Date getPlanFinish() {
        return planFinish;
    }

    public void setPlanFinish(Date planFinish) {
        this.planFinish = planFinish;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getCarriageType() {
        return carriageType;
    }

    public void setCarriageType(String carriageType) {
        this.carriageType = carriageType;
    }

    public Integer getSaleNumber() {
        return saleNumber;
    }

    public void setSaleNumber(Integer saleNumber) {
        this.saleNumber = saleNumber;
    }

    public Integer getTotalProductNumber() {
        return totalProductNumber;
    }

    public void setTotalProductNumber(Integer totalProductNumber) {
        this.totalProductNumber = totalProductNumber;
    }

    public Integer getTotaldeliverNumber() {
        return totaldeliverNumber;
    }

    public void setTotaldeliverNumber(Integer totaldeliverNumber) {
        this.totaldeliverNumber = totaldeliverNumber;
    }

    public Integer getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(Integer checkStatus) {
        this.checkStatus = checkStatus;
    }

    @Override
    public String toString() {
        return "firstVO{" +
                "tableNumber='" + tableNumber + '\'' +
                ", Time=" + Time +
                ", tableType='" + tableType + '\'' +
                ", accountType='" + accountType + '\'' +
                ", deliverydate=" + deliverydate +
                ", orderPlaceName='" + orderPlaceName + '\'' +
                ", serviceName='" + serviceName + '\'' +
                ", cfName='" + cfName + '\'' +
                ", planDo=" + planDo +
                ", planFinish=" + planFinish +
                ", payType='" + payType + '\'' +
                ", carriageType='" + carriageType + '\'' +
                ", saleNumber=" + saleNumber +
                ", totalProductNumber=" + totalProductNumber +
                ", totaldeliverNumber=" + totaldeliverNumber +
                ", checkStatus=" + checkStatus +
                '}';
    }
}
